package com.xm.share.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xm.share.mapper.PictureFileMapper;
import com.xm.share.model.PictureFile;
import com.xm.share.service.PictureFileService;

@Service
public class PictureFileServiceImpl implements PictureFileService {

	@Autowired
	private PictureFileMapper pictureFileMapper;
	
	@Override
	public PictureFile findById(Long id) {
		return pictureFileMapper.selectByPrimaryKey(id);
	}

}
